package com.hsh.erp.service;

import com.hsh.erp.domain.common.Result;
import com.hsh.erp.domain.dto.InboundDTO;
import com.hsh.erp.domain.entity.Inbound;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hsh.erp.domain.vo.InboundVO;

import java.util.List;

/**
* @author USER
* @description 针对表【inbound】的数据库操作Service
* @createDate 2024-05-30 16:21:43
*/
public interface InboundService extends IService<Inbound> {
    /**
     * 列表查询
     *
     * @param
     * @return
     */
    Result<List<InboundDTO>> getList(InboundVO inboundVO);

    /**
     * 修改一条记录
     * @param
     * @return
     */
    Result updateOne(InboundVO inboundVO);

    /**
     * 删除一条记录
     * @param
     * @return
     */
    Result deleteOne(InboundVO inboundVO);

    /**
     * 新增一条记录
     * @param
     * @return
     */
    Result addOne(InboundVO inboundVO);

    /**
     * 批量新增
     * @param
     * @return
     */
    Result addList(List<InboundVO> inboundVOList);

}
